package com.itheima.dao;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {

    //查询所有用户
    @Select("select id,name,password from user")
    List<User> findAllUsers();
}
